//
//  EFSQuotify.h
//  p4
//
//  Created by caojun on 15/1/8.
//  Copyright (c) 2015年 me.yang-yuxin. All rights reserved.
//

#import <Foundation/Foundation.h>

@class CJQuote;

@interface EFSQuotify : NSObject

+ (NSString *)valueToString: (NSNumber *)value;
+ (NSString *)valueToString: (NSNumber *)value withFix:(NSInteger) toFix;/**< 四舍五入*/

+ (NSString *)valueToSymbolString: (NSNumber *)value withFix:(NSInteger) toFix;

+ (NSString *)valueToStringPercent: (NSNumber *)value;
+ (NSString *)valueToStringPercent: (NSNumber *)value withFix:(NSInteger) toFix;
+ (NSString *)valueToStringPercentNoPlusSign:(NSNumber *)value withFix:(NSInteger)toFix;

+ (UIColor *)valueToColor: (NSNumber *)value;

+ (NSString *)valueToHumanReadable:(NSNumber *)value;

+ (NSNumber *)value:(NSNumber *)value scale:(NSInteger)scale roundingMode:(NSRoundingMode)roundingModel;
@end
